<%@include file="../common/common.jsp" %>
<%@ page pageEncoding="UTF-8" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <base href="<%=basePath%>">
    <title>User List</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <link rel="stylesheet" type="text/css" href="<%=basePath%>css/user/user.css">
    <script type="text/javascript" src="<%=basePath%>js/common/jquery-1.6.js"></script>
    <script type="text/javascript" src="<%=basePath%>js/common/common.js"></script>
    <script type="text/javascript" src="<%=basePath%>js/user/user.js"></script>
</head>
<body>
<h2 align="center">User List</h2>
<h4 align="center"><a href="<%=basePath %>">返回首页</a></h4>
<table align="center" border="1" id="tab">
    <thead>
    <tr>
        <th>姓名</th>
        <th>密码</th>
        <th>创建时间</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach items="${list}" var="li">
        <tr>
            <td>${li.userName }</td>
            <td temp="${li.userId}" style="cursor: pointer;" title="点击此处可进行编辑">
            	<span style="color: #060;" onclick="javascript:edit(this);">${li.userPassword }</span>
            </td>
            <td><fmt:formatDate value="${li.userTime }" pattern="yyyy-MM-dd HH:MM:ss" /></td>
        </tr>
    </c:forEach>
    </tbody>
</table>
</body>
</html>